warning about mmap loading vs. complexity/speed
This commit is contained in:
parent
8b278e70c4
commit
d155f7e879
@ -822,6 +822,7 @@ allocate it. But you also pay every time the garbage collection runs.
|
|||||||
* Common uses for unsafe
|
* Common uses for unsafe
|
||||||
* mmap'ing data files
|
* mmap'ing data files
|
||||||
* struct padding
|
* struct padding
|
||||||
|
* but not always sufficiently faster to justify cost
|
||||||
* speedy de-serialization
|
* speedy de-serialization
|
||||||
* string <-> slice conversion, []byte <-> []uint32, ...
|
* string <-> slice conversion, []byte <-> []uint32, ...
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user