Easy as { 1 2 3 }? (when { 1 2 3 } ≠ { 1 2 3 })

07152018, 12:52 AM
Post: #2




RE: Easy as { 1 2 3 }?
The LIN, TLIN, and SIMPLIFY commands all "normalize" a list of numbers the way you want (turning integers between 9 and +9 into their 5nibble forms), but they are even slower than →STR OBJ→. For example, →STR OBJ→ on a list of 1000 longform integer 1's takes 15+ seconds, but LIN takes 77+ seconds, TLIN takes 52+ seconds, and SIMPLIFY takes 73+ seconds. Unfortunately, all three functions, like →STR OBJ→, turn the integers into reals if approx mode is turned on.
Maybe exploring LIN, TLIN, and SIMPLIFY using Nosy would reveal what *they* do to normalize integers. Maybe just that code can be extracted (or called) to avoid the overhead of everything else that LIN, TLIN and SIMPLIFY do. <0ɸ0> Joe 

« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)