|\^/| Maple 2026 (X86 64 LINUX) ._|\| |/|_. Copyright (c) Maplesoft, a division of Waterloo Maple Inc. 2026 \ MAPLE / All rights reserved. Maple is a trademark of <____ ____> Waterloo Maple Inc. | Type ? for help. > kernelopts(numcpus=1); 96 > d := 10; d := 10 > for n from 5 to 15 do > X := [seq( x||i, i=1..n )]; > f := randpoly(X,coeffs=rand(-10^6..10^6),terms=100,degree=d); > g := randpoly(X,coeffs=rand(-10^6..10^6),terms=100,degree=d); > h := randpoly(X,coeffs=rand(-10^6..10^6),terms=100,degree=d); > printf("n=%d\n",n); > a := CodeTools[Usage](expand(f*g*h)); > h := CodeTools[Usage](factor(a)); # Uses MTSHL in Maple 2019 > od: n=5 memory used=3.04MiB, alloc change=2.89MiB, cpu time=33.00ms, real time=33.00ms, gc time=0ns memory used=28.0MB, alloc=48.9MB, time=0.17 memory used=82.6MB, alloc=91.0MB, time=0.37 memory used=157.7MB, alloc=120.4MB, time=0.70 memory used=206.34MiB, alloc change=123.63MiB, cpu time=871.00ms, real time=875.00ms, gc time=47.84ms n=6 memory used=8.00MiB, alloc change=7.85MiB, cpu time=53.00ms, real time=53.00ms, gc time=0ns memory used=253.1MB, alloc=126.4MB, time=1.27 memory used=289.4MB, alloc=120.7MB, time=1.38 memory used=374.9MB, alloc=142.1MB, time=1.62 memory used=415.5MB, alloc=147.0MB, time=1.86 memory used=481.4MB, alloc=144.5MB, time=2.22 memory used=547.6MB, alloc=144.5MB, time=2.65 memory used=374.65MiB, alloc change=41.10MiB, cpu time=1.82s, real time=1.82s, gc time=138.91ms n=7 memory used=12.95MiB, alloc change=12.80MiB, cpu time=64.00ms, real time=65.00ms, gc time=0ns memory used=767.8MB, alloc=163.3MB, time=3.59 memory used=903.0MB, alloc=177.6MB, time=3.86 memory used=954.5MB, alloc=209.6MB, time=4.05 memory used=1083.3MB, alloc=231.6MB, time=4.75 memory used=1164.5MB, alloc=231.6MB, time=5.27 memory used=1230.8MB, alloc=231.6MB, time=5.85 memory used=0.72GiB, alloc change=98.99MiB, cpu time=3.30s, real time=3.31s, gc time=250.77ms n=8 memory used=14.68MiB, alloc change=14.53MiB, cpu time=68.00ms, real time=68.00ms, gc time=0ns memory used=1523.5MB, alloc=212.3MB, time=7.04 memory used=1555.6MB, alloc=200.3MB, time=7.22 memory used=1572.7MB, alloc=200.3MB, time=7.37 memory used=1778.4MB, alloc=261.3MB, time=7.84 memory used=1872.6MB, alloc=261.3MB, time=8.13 memory used=2057.7MB, alloc=294.6MB, time=9.12 memory used=2140.7MB, alloc=294.6MB, time=9.81 memory used=2260.0MB, alloc=323.6MB, time=10.63 memory used=0.91GiB, alloc change=42.59MiB, cpu time=4.38s, real time=4.39s, gc time=426.84ms n=9 memory used=15.19MiB, alloc change=15.03MiB, cpu time=71.00ms, real time=71.00ms, gc time=0ns memory used=2471.6MB, alloc=290.1MB, time=11.55 memory used=2505.3MB, alloc=276.9MB, time=11.74 memory used=2522.3MB, alloc=276.9MB, time=11.90 memory used=2735.4MB, alloc=370.9MB, time=12.34 memory used=2901.1MB, alloc=370.9MB, time=12.82 memory used=3150.1MB, alloc=415.8MB, time=13.96 memory used=3240.9MB, alloc=415.8MB, time=14.65 memory used=3328.6MB, alloc=415.8MB, time=15.68 memory used=1.10GiB, alloc change=123.23MiB, cpu time=5.27s, real time=5.28s, gc time=526.23ms n=10 memory used=15.36MiB, alloc change=15.21MiB, cpu time=72.00ms, real time=71.00ms, gc time=0ns memory used=3562.2MB, alloc=384.2MB, time=16.80 memory used=3738.0MB, alloc=322.6MB, time=17.82 memory used=3968.3MB, alloc=308.0MB, time=18.32 memory used=4167.8MB, alloc=321.3MB, time=18.78 memory used=4424.6MB, alloc=362.6MB, time=20.27 memory used=4511.1MB, alloc=362.6MB, time=21.14 memory used=4605.8MB, alloc=362.6MB, time=22.23 memory used=1.23GiB, alloc change=-67.51MiB, cpu time=6.44s, real time=6.46s, gc time=478.62ms n=11 memory used=15.40MiB, alloc change=15.24MiB, cpu time=72.00ms, real time=72.00ms, gc time=0ns memory used=4884.1MB, alloc=335.0MB, time=23.51 memory used=5210.2MB, alloc=336.6MB, time=24.46 memory used=5351.3MB, alloc=336.6MB, time=24.82 memory used=5498.0MB, alloc=336.6MB, time=25.18 memory used=5782.7MB, alloc=406.6MB, time=26.72 memory used=5876.3MB, alloc=406.6MB, time=27.38 memory used=5968.1MB, alloc=406.6MB, time=28.44 memory used=6077.2MB, alloc=422.6MB, time=29.61 memory used=1.44GiB, alloc change=44.94MiB, cpu time=7.39s, real time=7.40s, gc time=600.65ms n=12 memory used=6414.6MB, alloc=346.1MB, time=31.29 memory used=264.32MiB, alloc change=-152.72MiB, cpu time=1.72s, real time=1.72s, gc time=649.67ms memory used=6511.9MB, alloc=394.1MB, time=32.83 memory used=6583.0MB, alloc=394.1MB, time=33.52 memory used=6654.0MB, alloc=394.1MB, time=34.21 memory used=6725.1MB, alloc=378.9MB, time=35.06 memory used=6796.1MB, alloc=378.9MB, time=35.85 memory used=6867.2MB, alloc=378.9MB, time=36.65 memory used=7080.1MB, alloc=466.1MB, time=42.99 memory used=7321.5MB, alloc=626.1MB, time=44.49 memory used=7416.8MB, alloc=669.4MB, time=46.12 memory used=7667.8MB, alloc=666.1MB, time=49.24 memory used=7863.4MB, alloc=634.9MB, time=51.56 memory used=8456.5MB, alloc=651.2MB, time=55.83 memory used=8932.6MB, alloc=658.1MB, time=60.00 memory used=9341.2MB, alloc=666.1MB, time=63.84 memory used=9539.7MB, alloc=634.9MB, time=66.09 memory used=9975.7MB, alloc=658.1MB, time=69.85 memory used=10205.4MB, alloc=666.1MB, time=72.85 memory used=10543.3MB, alloc=665.4MB, time=77.35 memory used=10870.8MB, alloc=680.6MB, time=82.59 memory used=11243.6MB, alloc=682.8MB, time=84.35 memory used=11592.2MB, alloc=682.8MB, time=86.15 memory used=11903.2MB, alloc=682.8MB, time=88.00 memory used=12256.0MB, alloc=823.9MB, time=89.72 memory used=12512.4MB, alloc=810.8MB, time=90.99 memory used=12871.9MB, alloc=810.8MB, time=92.68 memory used=13187.5MB, alloc=810.8MB, time=94.39 memory used=13464.5MB, alloc=810.8MB, time=96.09 memory used=13626.4MB, alloc=823.9MB, time=97.43 memory used=13857.5MB, alloc=823.9MB, time=98.73 memory used=14208.5MB, alloc=823.9MB, time=100.43 memory used=14520.2MB, alloc=823.9MB, time=102.25 memory used=14791.9MB, alloc=823.9MB, time=104.02 memory used=14942.5MB, alloc=837.0MB, time=105.32 memory used=15097.0MB, alloc=823.9MB, time=108.48 memory used=15378.5MB, alloc=889.9MB, time=111.83 memory used=15479.2MB, alloc=889.9MB, time=114.19 memory used=15601.0MB, alloc=889.9MB, time=117.07 memory used=15793.1MB, alloc=905.1MB, time=120.13 memory used=15922.0MB, alloc=905.1MB, time=121.52 memory used=9.38GiB, alloc change=0.59GiB, cpu time=90.30s, real time=90.47s, gc time=32.97s n=13 memory used=16169.3MB, alloc=746.1MB, time=123.78 memory used=16316.0MB, alloc=906.1MB, time=126.02 memory used=241.46MiB, alloc change=-59.98MiB, cpu time=4.02s, real time=4.03s, gc time=2.69s memory used=16522.4MB, alloc=906.1MB, time=128.54 memory used=17013.5MB, alloc=914.1MB, time=137.37 memory used=17513.2MB, alloc=924.0MB, time=143.06 memory used=17778.8MB, alloc=890.9MB, time=145.70 memory used=18228.1MB, alloc=914.1MB, time=149.75 memory used=18551.9MB, alloc=922.2MB, time=153.75 memory used=18684.4MB, alloc=890.9MB, time=156.15 memory used=19420.6MB, alloc=907.2MB, time=161.81 memory used=19932.9MB, alloc=914.1MB, time=166.84 memory used=20309.7MB, alloc=956.7MB, time=173.70 memory used=20935.6MB, alloc=954.2MB, time=179.01 memory used=21264.6MB, alloc=966.5MB, time=184.36 memory used=21805.4MB, alloc=983.9MB, time=191.20 memory used=22341.2MB, alloc=983.9MB, time=193.99 memory used=22816.5MB, alloc=983.9MB, time=196.83 memory used=23113.4MB, alloc=971.1MB, time=198.93 memory used=23660.2MB, alloc=983.9MB, time=201.63 memory used=24170.2MB, alloc=983.9MB, time=204.48 memory used=24567.7MB, alloc=996.7MB, time=207.15 memory used=25014.1MB, alloc=983.9MB, time=209.62 memory used=25523.5MB, alloc=983.9MB, time=212.47 memory used=25919.2MB, alloc=996.7MB, time=215.10 memory used=26372.1MB, alloc=1046.4MB, time=221.70 memory used=26640.5MB, alloc=1141.8MB, time=226.49 memory used=26740.7MB, alloc=1141.8MB, time=229.95 memory used=26884.4MB, alloc=1141.8MB, time=234.63 memory used=27192.1MB, alloc=1157.1MB, time=241.87 memory used=27499.6MB, alloc=1234.8MB, time=245.94 memory used=10.95GiB, alloc change=313.45MiB, cpu time=119.72s, real time=119.94s, gc time=44.75s n=14 memory used=27773.8MB, alloc=1194.1MB, time=250.35 memory used=249.66MiB, alloc change=-40.70MiB, cpu time=4.45s, real time=4.46s, gc time=2.99s memory used=28031.1MB, alloc=1194.2MB, time=254.05 memory used=28582.8MB, alloc=1202.2MB, time=264.53 memory used=29124.2MB, alloc=1210.2MB, time=270.69 memory used=29183.7MB, alloc=1178.9MB, time=273.82 memory used=29913.0MB, alloc=1208.0MB, time=281.94 memory used=30498.9MB, alloc=1237.4MB, time=290.46 memory used=31181.1MB, alloc=1246.2MB, time=297.12 memory used=31395.4MB, alloc=1222.9MB, time=303.71 memory used=32142.5MB, alloc=1239.8MB, time=313.17 memory used=32611.3MB, alloc=1234.2MB, time=318.68 memory used=33186.6MB, alloc=1242.2MB, time=324.91 memory used=33439.1MB, alloc=1211.9MB, time=328.17 memory used=33891.7MB, alloc=1235.3MB, time=333.99 memory used=34356.4MB, alloc=1306.2MB, time=340.34 memory used=34394.3MB, alloc=1290.2MB, time=345.06 memory used=34927.9MB, alloc=1293.7MB, time=351.77 memory used=35600.9MB, alloc=1293.7MB, time=355.66 memory used=36418.6MB, alloc=1549.7MB, time=359.64 memory used=36987.2MB, alloc=1549.7MB, time=363.02 memory used=37631.0MB, alloc=1549.7MB, time=366.90 memory used=38147.4MB, alloc=1549.7MB, time=370.28 memory used=38816.1MB, alloc=1549.7MB, time=374.13 memory used=39348.0MB, alloc=1546.2MB, time=377.44 memory used=40200.2MB, alloc=1880.2MB, time=389.41 memory used=40304.7MB, alloc=1880.2MB, time=394.31 memory used=40406.4MB, alloc=1880.2MB, time=399.41 memory used=40652.4MB, alloc=1880.2MB, time=408.20 memory used=41099.6MB, alloc=1895.5MB, time=417.75 memory used=13.25GiB, alloc change=0.73GiB, cpu time=2.81m, real time=2.81m, gc time=74.13s n=15 memory used=41576.7MB, alloc=1738.2MB, time=425.13 memory used=258.50MiB, alloc change=-218.36MiB, cpu time=6.13s, real time=6.15s, gc time=4.67s memory used=41922.5MB, alloc=1722.9MB, time=430.86 memory used=42652.4MB, alloc=1740.5MB, time=444.62 memory used=43028.6MB, alloc=1806.7MB, time=450.39 memory used=43034.9MB, alloc=1807.9MB, time=455.11 memory used=43036.0MB, alloc=2063.9MB, time=459.66 memory used=43668.0MB, alloc=2058.2MB, time=468.43 memory used=44505.1MB, alloc=2130.2MB, time=477.53 memory used=45310.2MB, alloc=2156.1MB, time=487.96 memory used=46238.3MB, alloc=2154.2MB, time=498.43 memory used=47221.8MB, alloc=2157.6MB, time=509.04 memory used=47922.3MB, alloc=2154.2MB, time=521.61 memory used=48698.9MB, alloc=2156.7MB, time=527.64 memory used=49384.0MB, alloc=2169.4MB, time=533.59 memory used=50055.9MB, alloc=2156.7MB, time=539.16 memory used=50767.5MB, alloc=2156.7MB, time=545.22 memory used=51416.3MB, alloc=2156.7MB, time=550.71 memory used=52148.7MB, alloc=2156.7MB, time=556.73 memory used=52900.5MB, alloc=2274.2MB, time=569.26 memory used=53386.1MB, alloc=2289.4MB, time=580.68 memory used=11.80GiB, alloc change=0.60GiB, cpu time=2.61m, real time=2.62m, gc time=79.83s > quit memory used=53765.5MB, alloc=2365.7MB, time=582.96