develooper Front page | perl.cvs.parrot | Postings from December 2008

[svn:parrot] r34667 - trunk/runtime/parrot/library

From:
coke
Date:
December 30, 2008 12:49
Subject:
[svn:parrot] r34667 - trunk/runtime/parrot/library
Message ID:
20081230204925.02AD1CB9FA@x12.develooper.com
Author: coke
Date: Tue Dec 30 12:49:24 2008
New Revision: 34667

Modified:
   trunk/runtime/parrot/library/JSON.pir

Log:
Use the pmc's builtin sort method (C) instead of the library (PIR)



Modified: trunk/runtime/parrot/library/JSON.pir
==============================================================================
--- trunk/runtime/parrot/library/JSON.pir	(original)
+++ trunk/runtime/parrot/library/JSON.pir	Tue Dec 30 12:49:24 2008
@@ -274,8 +274,7 @@
   goto iter_loop
 
 done_iter:
-  $P0 = find_global 'Data::Sort', 'simple'
-  $P0( keys )
+  keys.'sort'()
 
   .local string result,separator
 



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About