/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Web Translator API
(developer.mozilla.org)
97 points
kozika
| 2 comments |
25 Jun 25 08:02 UTC
|
HN request time: 0.401s
|
source
1.
seabass
◴[
25 Jun 25 16:56 UTC
]
No.
44379452
[source]
▶
>>44374748 (OP)
#
With js being a garbage collected language, what is the benefit of the destroy method here and why is it necessary?
replies(1):
>>44379744
#
ID:
GO
2.
charcircuit
◴[
25 Jun 25 17:22 UTC
]
No.
44379744
[source]
▶
>>44379452 (TP)
#
The is no guarantee when it will be garbage collected. For large local models that use a lot of resources they should be unloaded as soon as possible to allow other programs on the computer to use the resources.
↑