Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] <@283455627538333696> have you tried C-types structures?

[DiscordArchive] <@283455627538333696> have you tried C-types structures?

[DiscordArchive] <@283455627538333696> have you tried C-types structures?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
06-16-2018, 07:51 AM
#1
Archived author: Skarn • Posted: 2018-06-16T07:51:35.536000+00:00
Original source

<@283455627538333696> have you tried C-types structures?
rektbyfaith
06-16-2018, 07:51 AM #1

Archived author: Skarn • Posted: 2018-06-16T07:51:35.536000+00:00
Original source

<@283455627538333696> have you tried C-types structures?

rektbyfaith
Administrator
0
06-16-2018, 07:51 AM
#2
Archived author: Skarn • Posted: 2018-06-16T07:51:43.148000+00:00
Original source

or __slots__ optimization
rektbyfaith
06-16-2018, 07:51 AM #2

Archived author: Skarn • Posted: 2018-06-16T07:51:43.148000+00:00
Original source

or __slots__ optimization

rektbyfaith
Administrator
0
06-16-2018, 07:51 AM
#3
Archived author: Skarn • Posted: 2018-06-16T07:51:53.360000+00:00
Original source

```py
__slots__
```
rektbyfaith
06-16-2018, 07:51 AM #3

Archived author: Skarn • Posted: 2018-06-16T07:51:53.360000+00:00
Original source

```py
__slots__
```

rektbyfaith
Administrator
0
06-16-2018, 07:52 AM
#4
Archived author: Skarn • Posted: 2018-06-16T07:52:32.244000+00:00
Original source

Slots do give a lot to RAM usage. They won't contribute to speed much, but RAM usage should be significantly reduced compared to normal classes.
rektbyfaith
06-16-2018, 07:52 AM #4

Archived author: Skarn • Posted: 2018-06-16T07:52:32.244000+00:00
Original source

Slots do give a lot to RAM usage. They won't contribute to speed much, but RAM usage should be significantly reduced compared to normal classes.

rektbyfaith
Administrator
0
06-16-2018, 08:00 AM
#5
Archived author: Quantam • Posted: 2018-06-16T08:00:12.193000+00:00
Original source

I use NamedTuple for everything. Though I just learned that that's bad for performance.
rektbyfaith
06-16-2018, 08:00 AM #5

Archived author: Quantam • Posted: 2018-06-16T08:00:12.193000+00:00
Original source

I use NamedTuple for everything. Though I just learned that that's bad for performance.

rektbyfaith
Administrator
0
06-16-2018, 08:00 AM
#6
Archived author: Skarn • Posted: 2018-06-16T08:00:49.846000+00:00
Original source

I don't like namedtuple too much
rektbyfaith
06-16-2018, 08:00 AM #6

Archived author: Skarn • Posted: 2018-06-16T08:00:49.846000+00:00
Original source

I don't like namedtuple too much

rektbyfaith
Administrator
0
06-16-2018, 08:01 AM
#7
Archived author: Skarn • Posted: 2018-06-16T08:01:02.568000+00:00
Original source

I think it is the same in terms of performance as slot classes
rektbyfaith
06-16-2018, 08:01 AM #7

Archived author: Skarn • Posted: 2018-06-16T08:01:02.568000+00:00
Original source

I think it is the same in terms of performance as slot classes

rektbyfaith
Administrator
0
06-16-2018, 08:01 AM
#8
Archived author: Skarn • Posted: 2018-06-16T08:01:14.702000+00:00
Original source

<@283455627538333696> what about ctypes structs?
rektbyfaith
06-16-2018, 08:01 AM #8

Archived author: Skarn • Posted: 2018-06-16T08:01:14.702000+00:00
Original source

<@283455627538333696> what about ctypes structs?

rektbyfaith
Administrator
0
06-16-2018, 08:01 AM
#9
Archived author: Quantam • Posted: 2018-06-16T08:01:39.043000+00:00
Original source

At least in CPython those appear to keep their data in Python format normally
rektbyfaith
06-16-2018, 08:01 AM #9

Archived author: Quantam • Posted: 2018-06-16T08:01:39.043000+00:00
Original source

At least in CPython those appear to keep their data in Python format normally

rektbyfaith
Administrator
0
06-16-2018, 08:02 AM
#10
Archived author: Skarn • Posted: 2018-06-16T08:02:28.721000+00:00
Original source

I think Cython is your best bet otherwise
rektbyfaith
06-16-2018, 08:02 AM #10

Archived author: Skarn • Posted: 2018-06-16T08:02:28.721000+00:00
Original source

I think Cython is your best bet otherwise

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)