opethe1st / GoJson

Practising my golang skills
3 stars 0 forks source link

Write a post about how I went about this and what I learned #7

Open opethe1st opened 5 years ago

opethe1st commented 5 years ago

http://lucumr.pocoo.org/2013/2/13/moar-classes/ this was interesting because it pointed out stream processing. It is interesting to me how, I can easily extend my current way.. by simply declaring an iterator interface and then have an implementation that uses streams instead of having the entire string in memory. This is quite reassuring

opethe1st commented 5 years ago

[[[0] for x in xrange(2000)] for y in xrange(2000)] this made me discover that my implementation was pretty slow at reading this compared to the standard library implementation

opethe1st commented 5 years ago

Written a draft. Need to polish. Get reviews and send