Skip to content

Instantly share code, notes, and snippets.

@styoe
styoe / copy_test.py
Created November 15, 2023 08:58
Python copy speed
# import the time module
import time
from copy import copy
class GridPoint:
x: float
y: float
row: int
col: int
<script>
(function () {
var store = []
var timeout = null
function checkDepsHaveLoadedForItem (item) {
for(let i=0; i<item.deps.length; i++) {
if(!window[item.deps[i]]) return false
}
return true
cli packages: (/home/led/Desktop/wattle/hc-app/cordova/app/node_modules)
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : 6.5.0
local packages:
IncomingMessage {
_readableState:
ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: BufferList { head: null, tail: null, length: 0 },
length: 0,
pipes: null,
pipesCount: 0,
flowing: null,
// Proto messages
message TestMsg
{
bool param = 1;
}
// TEST wrapper
message TheInnocentNotification
{
bool is_everything_ok = 1;
v=0\r\no=- 1542507222416060282 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE audio video\r\na=msid-semantic: WMS\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:7/5h\r\na=ice-pwd:E2EzJ9BVV2JTQMqwTa5fq3wy\r\na=ice-options:trickle\r\na=fingerprint:sha-256 06:EA:34:D0:39:CA:77:9E:9D:75:BA:B6:ED:82:50:27:B6:77:88:04:55:D2:FD:DB:7F:8E:AA:03:D1:4B:9C:DF\r\na=setup:actpass\r\na=mid:audio\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=recvonly\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:106 CN/32000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:112 telephone-event/32000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\nm=vi