×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
On 10/29/18, 4:36 PM, Buck Calabro wrote:
. . . . I don't find that 'several' + 10 character names is at all
older/bodgier than one SRCPF + Hungarian notation.
Thanks, heaps!
After looking up "Hungarian notation," I've now got an earworm of a few
measures of Zoltan Kodaly's (or in Hungarian, Kodaly Zoltan's) "Hary
Janos." tight-looping in my head!
Oh, and by the way, I found my bottleneck in escaping for JSON. I was
(1) single-buffering the escaping process, and (2) checking
%LEN(%TRIMR(BUFFER)) with every damn iteration of the loop, and I had
older code that was escaping other things in separate loops.
Double-buffering, with a variable-length output buffer, allowed me to
check the length of the input buffer ONCE, and do all the escaping in a
single loop. Got it down from over three minutes per thousand records
down to 7 seconds per thousand records.
I guess that's what happens when you just let stupid code evolve by
accretion of more stupidity.
--
JHHL
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.