Actions
Bug #9652
closedMarshal doesn't dump/load Time#zone correctly with too many time object
Description
Hi, there
I wrote a script to test Marshal dump/load with many time object ( see attachment ).
basic idea is:
- A is container of time, it contains 100,000 time instance (all Time.now).
- dump/load A by using Marshal, expected behavior is all the time zone must same as Time.now.zone
but I get different things or unreadable code in some Time instance by calling time.zone.
mostly it's "UTF-8'.
env: Mac 10.9.2, ruby: ruby 2.1.1-p76
PS: it's fine while A contain 10,000 time instance
Files
Actions
Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0