Erlang Mailing Lists

Author Message

<  Yaws mailing list  ~  list_to_atom() calls in json.erl and haxe.erl

Guest
Posted: Wed Jan 31, 2007 5:10 pm Reply with quote
Guest
Hi,

I noticed that json.erl and its derivative haxe.erl both call
list_to_atom() in obj_store(), which is called when parsing an object.
According to previous discussions about the atom table, this can have
bad consequences because atoms don't get garbage collected. Therefore,
it would probably be a good idea to remove these calls and store
object keys as lists. What do you think?

Yariv

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum