<commit_before># Lots Of Sprites

'''
Results (us per sprite per frame):
sprites  AMD64/mesa   AMD64/nv6.6k   MacBook Pro   AMD/nv7.8k
2000     28.3         29.3          20.6          22.0

after __slots__ removal
sprites  AMD64/mesa   AMD64/nv6.6k   MacBook Pro   AMD/nv7.8k
2000
'''

import os
import sys
import random

from pyglet import options
options['debug_gl'] = False

from pyglet.window import Window
from pyglet import clock
from spryte import *
from pyglet.gl import *

w = Window(600, 600, vsync=False)

class BouncySprite(Sprite):
    def update(self):
        # move, check bounds<commit_msg>hehehe<commit_after># Lots Of Sprites

'''
Results (us per sprite per frame):
sprites  AMD64/mesa   AMD64/nv6.6k   MacBook Pro   AMD/nv7.8k   EEEPC
2000                                                            73.5
'''

import os
import sys
import random

from pyglet import options
options['debug_gl'] = False

from pyglet.window import Window
from pyglet import clock
from spryte import *
from pyglet.gl import *

w = Window(600, 600, vsync=False)

class BouncySprite(Sprite):
    def update(self):
        # move, check bounds
{'fraction_non_alphanumeric': 0.08077260755048288, 'fraction_numerical': 0.0553116769095698, 'mean_word_length': 2.6774193548387095, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7620109', 'n_tokens_mistral': 417, 'n_tokens_neox': 384, 'n_words': 123}