]> Cypherpunks repositories - gostls13.git/commit
runtime: move map fast functions into type specific files
authorMartin Möhrmann <moehrmann@google.com>
Sat, 27 Jan 2018 11:38:13 +0000 (12:38 +0100)
committerMartin Möhrmann <moehrmann@google.com>
Sat, 17 Feb 2018 15:32:26 +0000 (15:32 +0000)
commitd58593d8aa318b53f7f8889488a04179a168b6cc
treec756b029650f382b5c221075cac873ff9aec995c
parent284a4a734662b3c1a93f993ef55c8c2f42513c06
runtime: move map fast functions into type specific files

Overall code is unchanged.

The functions for different types (32, 64, str) of map fast routines
are collected in map_fast.go that has grown to ~1300 lines.

Moving the functions for each map fast type into a separate file
allows for an easier overview and navigation within the map code.

Change-Id: Ic09e4212f9025a66a10b11ef8dac23ad49d1d5ae
Reviewed-on: https://go-review.googlesource.com/90335
Run-TryBot: Martin Möhrmann <moehrmann@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/runtime/map_fast.go [deleted file]
src/runtime/map_fast32.go [new file with mode: 0644]
src/runtime/map_fast64.go [new file with mode: 0644]
src/runtime/map_faststr.go [new file with mode: 0644]