You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The DefaultFinder will not use probuf timezone data, so just not save it when necessary
After NewFinder from bin data, the allocs/heap will increase to a large number, but after GC, heap will reduce to far less. Maybe it’s possible to use sync.Pool to reduce init memory usage.
Using sync.Pool seems not work since most memory cost came from Unmarshall bytes from tzf-rel’s large bytes var.
Need check other data formats which don’t require load all data to memory at 1 time when unmarshall, or change the init way with a for loop over lots smaller bytes to use sync.Poll
#64 will force run GC after init, at least memory seems smaller than before, but still require 150MB for init.
DefaultFinder
will not use probuf timezone data, so just not save it when necessarysync.Pool
to reduce init memory usage.TODO
sync.Pool
for initThe text was updated successfully, but these errors were encountered: