mirror of
https://github.com/thewesker/twitter_ebooks.git
synced 2025-12-24 22:31:10 -05:00
Raise memory expectation in test slightly
This commit is contained in:
@@ -96,7 +96,7 @@ module Ebooks
|
||||
end
|
||||
self
|
||||
end
|
||||
|
||||
|
||||
|
||||
def initialize
|
||||
@tokens = []
|
||||
@@ -113,7 +113,7 @@ module Ebooks
|
||||
return @tikis[token]
|
||||
else
|
||||
(@tokens.length+1)%1000 == 0 and puts "#{@tokens.length+1} tokens"
|
||||
@tokens << token
|
||||
@tokens << token
|
||||
return @tikis[token] = @tokens.length-1
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user