Pop-Up Thingie
Sidebar
>>> Magnum BBS <<<
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
Usenet
COMP.LANG.HASKELL
how to be faster and less memory in this case?
From
meInvent bbird
@21:1/5 to
All
on Thu Jul 21 01:02:49 2016
*Main> let true3print = [(peval (replacewithoriginalformula (replacewithoriginalformula (fst (bb3true!!i)) bb2map) bb1map), isInfixOf "M8" (peval (replacewithoriginalformula (replacewithoriginalformula (fst (bb3true!!i)) bb2map) bb1map))) | i <- [0..(
99999-1)]]
*Main> let true3M8 = [ x | (x,True) <- true3print ]
*Main> true3M8
when it run, it used over 880MB memory and still increasing memory
i guess it need run in cloud, however cloud only has large memory
how about speed?
true3M8 is not a file
it load a very long time, can spark haskell help it faster? or spark haskell can only read file
i discover length a list also consume large memory and slow when data is large how to be faster?
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
Who's Online
Recent Visitors
Bob Worm
Tue Jul 28 16:01:18 2026
from
Wales, Uk
via
Telnet
Rixter
Tue Jul 28 13:42:46 2026
from
Madison, Nc
via
Telnet
Krenn
Tue Jul 28 11:59:57 2026
from
Sydney, Nsw
via
Telnet
Rixter
Tue Jul 28 01:23:48 2026
from
Madison, Nc
via
Telnet
Centurion
Mon Jul 27 22:50:42 2026
from
Berea, Ohio
via
Telnet
Ataricrypt
Mon Jul 27 19:19:17 2026
from
England
via
Telnet
Bob Worm
Mon Jul 27 15:19:55 2026
from
Wales, Uk
via
Telnet
Rixter
Mon Jul 27 13:04:59 2026
from
Madison, Nc
via
Telnet
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
741
Nodes:
16 (
2
/
14
)
Uptime:
47:53:00
Calls:
12,444
Calls today:
4
Files:
15,192
Messages:
6,537,114