On 30/05/2010 3:02 AM, Ralph Versteegen wrote:
On 30 May 2010 18:37, Mike Caron<[email protected]> wrote:
On 30/05/2010 2:33 AM, [email protected] wrote:
teeemcee
2010-05-29 23:33:46 -0700 (Sat, 29 May 2010)
134
Converted Reload.SerializeBin to use BufferedFile instead of stdio FILEs.
It now runs nearly 400 times faster on that 64MB test case.
---
U wip/makereload.bat
U wip/makereload.sh
U wip/reload.bas
U wip/util.bas
You win! No one will ever be able to match 8 commits in the space of 17
seconds!
When I check out what you've done, I will comment on something relevant.
--
Mike
Git is great. I have some HSpeak/script debugger work I could have
finished off and committed in several parts as well, but I'll leave it
for another day.
Ah, you lazy git. That explains it. ;)
I meant to say somewhere: maybe you want to modify SerializeXML so
that it outputs valid XML (eg, print<> as<NULL> and<foo ="2"> as
<foo value="2">, and make xml2reload translate back) or whatever, I
left that up to you. I mostly changed it because it was misprinting
slicetrees.
I'm not sure what to do in the face of null nodes, since <> and <NULL>
are not the same thing. I'm not even sure than a Node with no name is
even legal (it's quite possibly undefined).
I don't agree with the change to nodes with both values and children.
The exact XML representation of that is:
<node>
value
<children />
<children />
<children />
</node>
I don't believe in magic attributes or node names, so if I were going to
do that, I'd spit them out as:
<rootnodewhatever xmlns:RELOAD="http://someurlthatIhaventdecidedyet.com">
...
<RELOAD:null />
</rootnodewhatever>
I'm not sure that I want to commit to doing this yet, as I'm working on
another big project with my spare time... Maybe soon though. If I become
inspired.
--
Mike
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org